package com.anda.logistics.dao;

import java.util.List;
import java.util.Map;

import com.anda.logistics.model.GoogleRegionCode;
import com.anda.logistics.model.SystemCode;
import com.anda.logistics.util.JQGridPager;
import com.anda.logistics.vo.RegionInfoVo;

public interface SystemCodeDao {

	public void save(SystemCode systemCode);

	public List<SystemCode> getAll();

	public SystemCode getOne(long id);

	public void deleteOne(long id);

	public void update(SystemCode systemCode);

	public List<SystemCode> getPagerList(JQGridPager pager);

	public long getRecords();

	public Map<String, List<SystemCode>> getAllPartedCode();

	public List<RegionInfoVo> getAllRegionInfo();

	public List<SystemCode> getProvinceCode();

	public List<SystemCode> getRegionChildren(String parentValue);

	public long getPagedRecords(JQGridPager pager);

	public List<String> getAllCodeNames();

	public List<SystemCode> getAllOtherCode();

	public List<GoogleRegionCode> getGoogleRegionCode();

}
